<?php require(DIR_TEMPLATE . C('config_template')."/setting/setting.php" ); ?>
<?php echo $header; ?>

<?php if ($SPAN[0]) { ?>
  <div class="span<?php echo $SPAN[0]; ?>">
    <?php echo $column_left; ?>
  </div>
<?php } ?>

<div class="span<?php echo $SPAN[1];?>">
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    	<?php echo $breadcrumb['separator']; ?>
    	<a itemprop="url" href="<?php echo $breadcrumb['href']; ?>">
    		<span itemprop="title"><?php echo $breadcrumb['text']; ?></span>
    	</a>
    </span>
    <?php } ?>
  </div>
  <h1><?php echo $title; ?></h1>
  <div class="pav-blogs">
 
  <?php foreach ($articles as $article) {?> 
  <div class="row-fluid"><div class="span12">
  <div class="blog-item">
  	<div class="blog-header clearfix">
    <h2 class="blog-title"><a href="<?php echo $article['link'];?>"><?php echo $article['title'];?></a></h2>
    <div class="blog-meta">
    <span class="created"><span><?php echo $_['text_created']?>:</span> <b><?php echo v5_date_format($article['date_added']);?></b></span>
  	<span class="hits"><span><?php echo $_['text_hits']?>:</span> <b><?php echo $article['hits'];?></b></span></div>
    </div>
    <div class="blog-body">
    <?php if ($article['image']) { ?>
  	<img align="left" src="<?php echo image_url($article['image']);?>" alt="<?php echo $article['title']?>">
  	<?php } ?>
    <div class="description"><?php echo $article['summary']?></div>
    <div class="blog-readmore"><a href="<?php echo $article['link'];?>" class="readmore"><?php echo $_['text_readmore']?></a></div>
    </div>
  </div>
  </div>
  </div>
  <?php } ?>  
  <div class="pagination"><?php echo $pagination; ?></div>
  </div>
  <?php echo $content_bottom; ?></div>
</div>

<?php if ($SPAN[2]) { ?>
  <div class="span<?php echo $SPAN[2]; ?>">
    <?php echo $column_right; ?>
  </div>
<?php } ?>

<?php echo $footer; ?> 